package com.howie.shirojwt.mapper;

import com.howie.shirojwt.model.SourceAction;
import com.howie.shirojwt.model.SourceActionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface SourceActionMapper {
    int countByExample(SourceActionExample example);

    int deleteByExample(SourceActionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SourceAction record);

    int insertSelective(SourceAction record);

    List<SourceAction> selectByExampleWithRowbounds(SourceActionExample example, RowBounds rowBounds);

    List<SourceAction> selectByExample(SourceActionExample example);

    SourceAction selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SourceAction record, @Param("example") SourceActionExample example);

    int updateByExample(@Param("record") SourceAction record, @Param("example") SourceActionExample example);

    int updateByPrimaryKeySelective(SourceAction record);

    int updateByPrimaryKey(SourceAction record);

    Long sumByExample(SourceActionExample example);

    void batchInsert(@Param("items") List<SourceAction> items);
}